Kwik.Page.include("Kwik.Data.TableCollection.js");

/**
* Data source object
* @extends Kwik.Object
* @requires Kwik.Object
* @requires Kwik.Data.TableCollection
* @constructor
* @created 12:37 AM 7/29/2009
* @modified 12:37 AM 7/29/2009
*/
Kwik.Data.Source = function(config)
{
	/** @ignore */
	Kwik.Utility.extend(this, "Kwik.Object");
	this.__class.push("Kwik.Data.Source");

	/** Connectionstring for this data source @type String */
	this.connectionString = "";

	/** Collection of tables in this data source @type Kwik.Data.TableCollection */
	this.tables = new Kwik.Data.TableCollection();

	/** @ignore */
	this.main = function Source_main(config)
	{
		if(config){this.configure(config);}
	}; this.main(config);
};